<!-- HTML header for doxygen 1.8.20-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
	<meta http-equiv="X-UA-Compatible" content="IE=9"/>
	<meta name="generator" content="Doxygen 1.9.4"/>
	<meta name="viewport" content="width=device-width, initial-scale=1"/>
	<title>Raspberry Pi Pico SDK: include/pico/divider.h Source File</title>
	<!-- <link href="tabs.css" rel="stylesheet" type="text/css"/> -->
	<script type="text/javascript" src="jquery.js"></script>
	<script type="text/javascript" src="dynsections.js"></script>
	<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
	<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
	<link href="doxygen.css" rel="stylesheet" type="text/css" />
	<link href="normalise.css" rel="stylesheet" type="text/css"/>
<link href="main.css" rel="stylesheet" type="text/css"/>
<link href="styles.css" rel="stylesheet" type="text/css"/>
</head>
<body>
	<div class="navigation-mobile">
		<div class="logo--mobile">
			<a href="/"><img src="logo-mobile.svg" alt="Raspberry Pi"></a>
		</div>
		<div class="navigation-toggle">
			<span class="line-1"></span>
			<span class="line-2">
				<p>Menu Toggle</p>
			</span>
			<span class="line-3"></span>
		</div>
	</div>
	<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
		<div class="logo">
			<a href="index.html"> <img src="logo.svg" alt="Raspberry Pi"></a>
			<span style="display: inline-block; margin-top: 10px;">
				v2.1.0
			</span>
		</div>
		<div class="navigation-footer">
			<img src="logo-mobile.svg" alt="Raspberry Pi">
			<a href="https://www.raspberrypi.com/" target="_blank">By Raspberry Pi Ltd</a>
		</div>
<!-- 		<div class="search">
			<form>
				<input type="search" name="search" id="search" placeholder="Search">
				<input type="submit" value="Search">
			</form>
		</div> -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('common_2pico__divider__headers_2include_2pico_2divider_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle"><div class="title">divider.h</div></div>
</div><!--header-->
<div class="contents">
<a href="common_2pico__divider__headers_2include_2pico_2divider_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">/*</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment"> * Copyright (c) 2020 Raspberry Pi (Trading) Ltd.</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment"> *</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment"> * SPDX-License-Identifier: BSD-3-Clause</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment"> */</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span> </div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="preprocessor">#ifndef _PICO_DIVIDER_H</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#define _PICO_DIVIDER_H</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="preprocessor">#include &quot;<a class="code" href="pico_8h.html">pico.h</a>&quot;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="preprocessor">#include &quot;<a class="code" href="rp2__common_2hardware__divider_2include_2hardware_2divider_8h.html">hardware/divider.h</a>&quot;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span> </div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span>int32_t <a class="code hl_function" href="group__pico__divider.html#ga60b86237e096a13f871015a28dceb88a">div_s32s32</a>(int32_t a, int32_t b);</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span> </div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="group__pico__divider.html#gaae6ff276cc2275c0734600b981a5d677">   53</a></span><span class="keyword">static</span> <span class="keyword">inline</span> int32_t <a class="code hl_function" href="group__pico__divider.html#gaae6ff276cc2275c0734600b981a5d677">divmod_s32s32_rem</a>(int32_t a, int32_t b, int32_t *rem) {</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span>    divmod_result_t r = <a class="code hl_function" href="group__hardware__divider.html#ga806e168e895d53a3c261ba3e95ed2639">hw_divider_divmod_s32</a>(a, b);</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span>    *rem = <a class="code hl_function" href="group__hardware__divider.html#ga7ca08fd8fd1961ee25233d4587067178">to_remainder_s32</a>(r);</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>    <span class="keywordflow">return</span> <a class="code hl_function" href="group__hardware__divider.html#ga62820b8678505f5ea007cedd012da0aa">to_quotient_s32</a>(r);</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span>}</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>divmod_result_t <a class="code hl_function" href="group__pico__divider.html#gace9d9d5ff4290c52bc4d5e07f6f7e15a">divmod_s32s32</a>(int32_t a, int32_t b);</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span>uint32_t <a class="code hl_function" href="group__pico__divider.html#ga9f9526e8653805bf2fe737afd4e490da">div_u32u32</a>(uint32_t a, uint32_t b);</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span> </div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"><a class="line" href="group__pico__divider.html#ga02bac0aea2fa383a28bd05bcd682a07a">   88</a></span><span class="keyword">static</span> <span class="keyword">inline</span> uint32_t <a class="code hl_function" href="group__pico__divider.html#ga02bac0aea2fa383a28bd05bcd682a07a">divmod_u32u32_rem</a>(uint32_t a, uint32_t b, uint32_t *rem) {</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span>    divmod_result_t r = <a class="code hl_function" href="group__hardware__divider.html#gac2f4fea8c3ef19a04e574f64f5f520c2">hw_divider_divmod_u32</a>(a, b);</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span>    *rem = <a class="code hl_function" href="group__hardware__divider.html#gaea3762e4a27f1e42f8e03e6607917462">to_remainder_u32</a>(r);</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span>    <span class="keywordflow">return</span> <a class="code hl_function" href="group__hardware__divider.html#ga21752b8ee127370df37cd9a9e4e4050e">to_quotient_u32</a>(r);</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span>}</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span> </div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span>divmod_result_t <a class="code hl_function" href="group__pico__divider.html#ga71d8e53c72b078f1334061ff0aebe8d8">divmod_u32u32</a>(uint32_t a, uint32_t b);</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span> </div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span>int64_t <a class="code hl_function" href="group__pico__divider.html#ga053ab24ac7d6145b0229a6c111cb9d1b">div_s64s64</a>(int64_t a, int64_t b);</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span> </div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span>int64_t <a class="code hl_function" href="group__pico__divider.html#ga7f6ec69ce8ef4406923d56a0a6e1d409">divmod_s64s64_rem</a>(int64_t a, int64_t b, int64_t *rem);</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span> </div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span>int64_t <a class="code hl_function" href="group__pico__divider.html#ga936872c9df9360e2b32b5d8b2c345913">divmod_s64s64</a>(int64_t a, int64_t b);</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span> </div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span>uint64_t <a class="code hl_function" href="group__pico__divider.html#ga3004f0218e26a762031ec7ed3c369ad1">div_u64u64</a>(uint64_t a, uint64_t b);</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno">  144</span> </div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span>uint64_t <a class="code hl_function" href="group__pico__divider.html#gad4a811e1113b670a7b67df9d7e8c17f8">divmod_u64u64_rem</a>(uint64_t a, uint64_t b, uint64_t *rem);</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span> </div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno">  156</span> </div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno">  165</span>uint64_t <a class="code hl_function" href="group__pico__divider.html#ga523fd2399753e2e1c9ebeb3bbc3ad175">divmod_u64u64</a>(uint64_t a, uint64_t b);</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno">  166</span> </div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno">  167</span><span class="comment">// -----------------------------------------------------------------------</span></div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno">  168</span><span class="comment">// these &quot;unsafe&quot; functions are slightly faster, but do not save the divider state,</span></div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span><span class="comment">// so are not generally safe to be called from interrupts</span></div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno">  170</span><span class="comment">// -----------------------------------------------------------------------</span></div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span> </div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno">  182</span>int32_t <a class="code hl_function" href="group__pico__divider.html#ga87e79e05c5490fcef2efb156a721fd6f">div_s32s32_unsafe</a>(int32_t a, int32_t b);</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno">  183</span> </div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno">  195</span>int32_t <a class="code hl_function" href="group__pico__divider.html#ga18a5bbbeb6c84d0357d803b2c5b25039">divmod_s32s32_rem_unsafe</a>(int32_t a, int32_t b, int32_t *rem);</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno">  196</span> </div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno">  207</span>divmod_result_t <a class="code hl_function" href="group__pico__divider.html#ga712f477f6643e447f5e5890f6e641bef">divmod_s32s32_unsafe</a>(int32_t a, int32_t b);</div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno">  208</span> </div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno">  219</span>uint32_t <a class="code hl_function" href="group__pico__divider.html#gaf3c85d6165a3c2a16b7ecad9cf077a58">div_u32u32_unsafe</a>(uint32_t a, uint32_t b);</div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno">  220</span> </div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno">  232</span>uint32_t <a class="code hl_function" href="group__pico__divider.html#ga110fad3fe5af8415e2c4bc4272c38591">divmod_u32u32_rem_unsafe</a>(uint32_t a, uint32_t b, uint32_t *rem);</div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno">  233</span> </div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno">  244</span>divmod_result_t <a class="code hl_function" href="group__pico__divider.html#gae6565a48f3e347b344aa776f6b220f13">divmod_u32u32_unsafe</a>(uint32_t a, uint32_t b);</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno">  245</span> </div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno">  256</span>int64_t <a class="code hl_function" href="group__pico__divider.html#gaf7847d0648463a6235c9e7844025d0fb">div_s64s64_unsafe</a>(int64_t a, int64_t b);</div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno">  257</span> </div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno">  269</span>int64_t <a class="code hl_function" href="group__pico__divider.html#gacfbc03721cfa18f7f1865d0cb17a62f9">divmod_s64s64_rem_unsafe</a>(int64_t a, int64_t b, int64_t *rem);</div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno">  270</span> </div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"><a class="line" href="group__pico__divider.html#ga47233b8d21888b733c5f271fdf290a33">  281</a></span>int64_t <a class="code hl_function" href="group__pico__divider.html#ga47233b8d21888b733c5f271fdf290a33">divmod_s64s64_unsafe</a>(int64_t a, int64_t b);</div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno">  282</span> </div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno">  293</span>uint64_t <a class="code hl_function" href="group__pico__divider.html#ga5ef2b5c7b1e6f12573ec35cbc822ab5a">div_u64u64_unsafe</a>(uint64_t a, uint64_t b);</div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno">  294</span> </div>
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno">  306</span>uint64_t <a class="code hl_function" href="group__pico__divider.html#ga9f37bfee18ba829fe4249b309dcb4fad">divmod_u64u64_rem_unsafe</a>(uint64_t a, uint64_t b, uint64_t *rem);</div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno">  307</span> </div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"><a class="line" href="group__pico__divider.html#ga18f537358cd342a32fa6781e7ca4b475">  318</a></span>uint64_t <a class="code hl_function" href="group__pico__divider.html#ga18f537358cd342a32fa6781e7ca4b475">divmod_u64u64_unsafe</a>(uint64_t a, uint64_t b);</div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno">  319</span> </div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno">  320</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno">  321</span>}</div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno">  322</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno">  323</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="agroup__hardware__divider_html_ga21752b8ee127370df37cd9a9e4e4050e"><div class="ttname"><a href="group__hardware__divider.html#ga21752b8ee127370df37cd9a9e4e4050e">to_quotient_u32</a></div><div class="ttdeci">static uint32_t to_quotient_u32(divmod_result_t r)</div><div class="ttdoc">Efficient extraction of unsigned quotient from 32p32 fixed point.</div><div class="ttdef"><b>Definition:</b> divider.h:198</div></div>
<div class="ttc" id="agroup__hardware__divider_html_ga62820b8678505f5ea007cedd012da0aa"><div class="ttname"><a href="group__hardware__divider.html#ga62820b8678505f5ea007cedd012da0aa">to_quotient_s32</a></div><div class="ttdeci">static int32_t to_quotient_s32(divmod_result_t r)</div><div class="ttdoc">Efficient extraction of signed quotient from 32p32 fixed point.</div><div class="ttdef"><b>Definition:</b> divider.h:208</div></div>
<div class="ttc" id="agroup__hardware__divider_html_ga7ca08fd8fd1961ee25233d4587067178"><div class="ttname"><a href="group__hardware__divider.html#ga7ca08fd8fd1961ee25233d4587067178">to_remainder_s32</a></div><div class="ttdeci">static int32_t to_remainder_s32(divmod_result_t r)</div><div class="ttdoc">Efficient extraction of signed remainder from 32p32 fixed point.</div><div class="ttdef"><b>Definition:</b> divider.h:232</div></div>
<div class="ttc" id="agroup__hardware__divider_html_ga806e168e895d53a3c261ba3e95ed2639"><div class="ttname"><a href="group__hardware__divider.html#ga806e168e895d53a3c261ba3e95ed2639">hw_divider_divmod_s32</a></div><div class="ttdeci">static divmod_result_t hw_divider_divmod_s32(int32_t a, int32_t b)</div><div class="ttdoc">Do a signed HW divide and wait for result.</div><div class="ttdef"><b>Definition:</b> divider.h:74</div></div>
<div class="ttc" id="agroup__hardware__divider_html_gac2f4fea8c3ef19a04e574f64f5f520c2"><div class="ttname"><a href="group__hardware__divider.html#gac2f4fea8c3ef19a04e574f64f5f520c2">hw_divider_divmod_u32</a></div><div class="ttdeci">static divmod_result_t hw_divider_divmod_u32(uint32_t a, uint32_t b)</div><div class="ttdoc">Do an unsigned HW divide and wait for result.</div><div class="ttdef"><b>Definition:</b> divider.h:92</div></div>
<div class="ttc" id="agroup__hardware__divider_html_gaea3762e4a27f1e42f8e03e6607917462"><div class="ttname"><a href="group__hardware__divider.html#gaea3762e4a27f1e42f8e03e6607917462">to_remainder_u32</a></div><div class="ttdeci">static uint32_t to_remainder_u32(divmod_result_t r)</div><div class="ttdoc">Efficient extraction of unsigned remainder from 32p32 fixed point.</div><div class="ttdef"><b>Definition:</b> divider.h:220</div></div>
<div class="ttc" id="agroup__pico__divider_html_ga02bac0aea2fa383a28bd05bcd682a07a"><div class="ttname"><a href="group__pico__divider.html#ga02bac0aea2fa383a28bd05bcd682a07a">divmod_u32u32_rem</a></div><div class="ttdeci">static uint32_t divmod_u32u32_rem(uint32_t a, uint32_t b, uint32_t *rem)</div><div class="ttdoc">Integer divide of two unsigned 32-bit values, with remainder.</div><div class="ttdef"><b>Definition:</b> divider.h:88</div></div>
<div class="ttc" id="agroup__pico__divider_html_ga053ab24ac7d6145b0229a6c111cb9d1b"><div class="ttname"><a href="group__pico__divider.html#ga053ab24ac7d6145b0229a6c111cb9d1b">div_s64s64</a></div><div class="ttdeci">int64_t div_s64s64(int64_t a, int64_t b)</div><div class="ttdoc">Integer divide of two signed 64-bit values.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:66</div></div>
<div class="ttc" id="agroup__pico__divider_html_ga110fad3fe5af8415e2c4bc4272c38591"><div class="ttname"><a href="group__pico__divider.html#ga110fad3fe5af8415e2c4bc4272c38591">divmod_u32u32_rem_unsafe</a></div><div class="ttdeci">uint32_t divmod_u32u32_rem_unsafe(uint32_t a, uint32_t b, uint32_t *rem)</div><div class="ttdoc">Unsafe integer divide of two unsigned 32-bit values, with remainder.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:105</div></div>
<div class="ttc" id="agroup__pico__divider_html_ga18a5bbbeb6c84d0357d803b2c5b25039"><div class="ttname"><a href="group__pico__divider.html#ga18a5bbbeb6c84d0357d803b2c5b25039">divmod_s32s32_rem_unsafe</a></div><div class="ttdeci">int32_t divmod_s32s32_rem_unsafe(int32_t a, int32_t b, int32_t *rem)</div><div class="ttdoc">Unsafe integer divide of two signed 32-bit values, with remainder.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:101</div></div>
<div class="ttc" id="agroup__pico__divider_html_ga18f537358cd342a32fa6781e7ca4b475"><div class="ttname"><a href="group__pico__divider.html#ga18f537358cd342a32fa6781e7ca4b475">divmod_u64u64_unsafe</a></div><div class="ttdeci">uint64_t divmod_u64u64_unsafe(uint64_t a, uint64_t b)</div><div class="ttdoc">Unsafe integer divide of two signed 64-bit values.</div></div>
<div class="ttc" id="agroup__pico__divider_html_ga3004f0218e26a762031ec7ed3c369ad1"><div class="ttname"><a href="group__pico__divider.html#ga3004f0218e26a762031ec7ed3c369ad1">div_u64u64</a></div><div class="ttdeci">uint64_t div_u64u64(uint64_t a, uint64_t b)</div><div class="ttdoc">Integer divide of two unsigned 64-bit values.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:82</div></div>
<div class="ttc" id="agroup__pico__divider_html_ga47233b8d21888b733c5f271fdf290a33"><div class="ttname"><a href="group__pico__divider.html#ga47233b8d21888b733c5f271fdf290a33">divmod_s64s64_unsafe</a></div><div class="ttdeci">int64_t divmod_s64s64_unsafe(int64_t a, int64_t b)</div><div class="ttdoc">Unsafe integer divide of two signed 64-bit values.</div></div>
<div class="ttc" id="agroup__pico__divider_html_ga523fd2399753e2e1c9ebeb3bbc3ad175"><div class="ttname"><a href="group__pico__divider.html#ga523fd2399753e2e1c9ebeb3bbc3ad175">divmod_u64u64</a></div><div class="ttdeci">uint64_t divmod_u64u64(uint64_t a, uint64_t b)</div><div class="ttdoc">Integer divide of two signed 64-bit values.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:93</div></div>
<div class="ttc" id="agroup__pico__divider_html_ga5ef2b5c7b1e6f12573ec35cbc822ab5a"><div class="ttname"><a href="group__pico__divider.html#ga5ef2b5c7b1e6f12573ec35cbc822ab5a">div_u64u64_unsafe</a></div><div class="ttdeci">uint64_t div_u64u64_unsafe(uint64_t a, uint64_t b)</div><div class="ttdoc">Unsafe integer divide of two unsigned 64-bit values.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:113</div></div>
<div class="ttc" id="agroup__pico__divider_html_ga60b86237e096a13f871015a28dceb88a"><div class="ttname"><a href="group__pico__divider.html#ga60b86237e096a13f871015a28dceb88a">div_s32s32</a></div><div class="ttdeci">int32_t div_s32s32(int32_t a, int32_t b)</div><div class="ttdoc">Integer divide of two signed 32-bit values.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:10</div></div>
<div class="ttc" id="agroup__pico__divider_html_ga712f477f6643e447f5e5890f6e641bef"><div class="ttname"><a href="group__pico__divider.html#ga712f477f6643e447f5e5890f6e641bef">divmod_s32s32_unsafe</a></div><div class="ttdeci">divmod_result_t divmod_s32s32_unsafe(int32_t a, int32_t b)</div><div class="ttdoc">Unsafe integer divide of two unsigned 32-bit values.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:102</div></div>
<div class="ttc" id="agroup__pico__divider_html_ga71d8e53c72b078f1334061ff0aebe8d8"><div class="ttname"><a href="group__pico__divider.html#ga71d8e53c72b078f1334061ff0aebe8d8">divmod_u32u32</a></div><div class="ttdeci">divmod_result_t divmod_u32u32(uint32_t a, uint32_t b)</div><div class="ttdoc">Integer divide of two unsigned 32-bit values.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:22</div></div>
<div class="ttc" id="agroup__pico__divider_html_ga7f6ec69ce8ef4406923d56a0a6e1d409"><div class="ttname"><a href="group__pico__divider.html#ga7f6ec69ce8ef4406923d56a0a6e1d409">divmod_s64s64_rem</a></div><div class="ttdeci">int64_t divmod_s64s64_rem(int64_t a, int64_t b, int64_t *rem)</div><div class="ttdoc">Integer divide of two signed 64-bit values, with remainder.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:71</div></div>
<div class="ttc" id="agroup__pico__divider_html_ga87e79e05c5490fcef2efb156a721fd6f"><div class="ttname"><a href="group__pico__divider.html#ga87e79e05c5490fcef2efb156a721fd6f">div_s32s32_unsafe</a></div><div class="ttdeci">int32_t div_s32s32_unsafe(int32_t a, int32_t b)</div><div class="ttdoc">Unsafe integer divide of two signed 32-bit values.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:100</div></div>
<div class="ttc" id="agroup__pico__divider_html_ga936872c9df9360e2b32b5d8b2c345913"><div class="ttname"><a href="group__pico__divider.html#ga936872c9df9360e2b32b5d8b2c345913">divmod_s64s64</a></div><div class="ttdeci">int64_t divmod_s64s64(int64_t a, int64_t b)</div><div class="ttdoc">Integer divide of two signed 64-bit values.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:77</div></div>
<div class="ttc" id="agroup__pico__divider_html_ga9f37bfee18ba829fe4249b309dcb4fad"><div class="ttname"><a href="group__pico__divider.html#ga9f37bfee18ba829fe4249b309dcb4fad">divmod_u64u64_rem_unsafe</a></div><div class="ttdeci">uint64_t divmod_u64u64_rem_unsafe(uint64_t a, uint64_t b, uint64_t *rem)</div><div class="ttdoc">Unsafe integer divide of two unsigned 64-bit values, with remainder.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:114</div></div>
<div class="ttc" id="agroup__pico__divider_html_ga9f9526e8653805bf2fe737afd4e490da"><div class="ttname"><a href="group__pico__divider.html#ga9f9526e8653805bf2fe737afd4e490da">div_u32u32</a></div><div class="ttdeci">uint32_t div_u32u32(uint32_t a, uint32_t b)</div><div class="ttdoc">Integer divide of two unsigned 32-bit values.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:18</div></div>
<div class="ttc" id="agroup__pico__divider_html_gaae6ff276cc2275c0734600b981a5d677"><div class="ttname"><a href="group__pico__divider.html#gaae6ff276cc2275c0734600b981a5d677">divmod_s32s32_rem</a></div><div class="ttdeci">static int32_t divmod_s32s32_rem(int32_t a, int32_t b, int32_t *rem)</div><div class="ttdoc">Integer divide of two signed 32-bit values, with remainder.</div><div class="ttdef"><b>Definition:</b> divider.h:53</div></div>
<div class="ttc" id="agroup__pico__divider_html_gace9d9d5ff4290c52bc4d5e07f6f7e15a"><div class="ttname"><a href="group__pico__divider.html#gace9d9d5ff4290c52bc4d5e07f6f7e15a">divmod_s32s32</a></div><div class="ttdeci">divmod_result_t divmod_s32s32(int32_t a, int32_t b)</div><div class="ttdoc">Integer divide of two signed 32-bit values.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:14</div></div>
<div class="ttc" id="agroup__pico__divider_html_gacfbc03721cfa18f7f1865d0cb17a62f9"><div class="ttname"><a href="group__pico__divider.html#gacfbc03721cfa18f7f1865d0cb17a62f9">divmod_s64s64_rem_unsafe</a></div><div class="ttdeci">int64_t divmod_s64s64_rem_unsafe(int64_t a, int64_t b, int64_t *rem)</div><div class="ttdoc">Unsafe integer divide of two signed 64-bit values, with remainder.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:109</div></div>
<div class="ttc" id="agroup__pico__divider_html_gad4a811e1113b670a7b67df9d7e8c17f8"><div class="ttname"><a href="group__pico__divider.html#gad4a811e1113b670a7b67df9d7e8c17f8">divmod_u64u64_rem</a></div><div class="ttdeci">uint64_t divmod_u64u64_rem(uint64_t a, uint64_t b, uint64_t *rem)</div><div class="ttdoc">Integer divide of two unsigned 64-bit values, with remainder.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:87</div></div>
<div class="ttc" id="agroup__pico__divider_html_gae6565a48f3e347b344aa776f6b220f13"><div class="ttname"><a href="group__pico__divider.html#gae6565a48f3e347b344aa776f6b220f13">divmod_u32u32_unsafe</a></div><div class="ttdeci">divmod_result_t divmod_u32u32_unsafe(uint32_t a, uint32_t b)</div><div class="ttdoc">Unsafe integer divide of two unsigned 32-bit values.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:106</div></div>
<div class="ttc" id="agroup__pico__divider_html_gaf3c85d6165a3c2a16b7ecad9cf077a58"><div class="ttname"><a href="group__pico__divider.html#gaf3c85d6165a3c2a16b7ecad9cf077a58">div_u32u32_unsafe</a></div><div class="ttdeci">uint32_t div_u32u32_unsafe(uint32_t a, uint32_t b)</div><div class="ttdoc">Unsafe integer divide of two unsigned 32-bit values.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:104</div></div>
<div class="ttc" id="agroup__pico__divider_html_gaf7847d0648463a6235c9e7844025d0fb"><div class="ttname"><a href="group__pico__divider.html#gaf7847d0648463a6235c9e7844025d0fb">div_s64s64_unsafe</a></div><div class="ttdeci">int64_t div_s64s64_unsafe(int64_t a, int64_t b)</div><div class="ttdoc">Unsafe integer divide of two signed 64-bit values.</div><div class="ttdef"><b>Definition:</b> divider_compiler.c:108</div></div>
<div class="ttc" id="apico_8h_html"><div class="ttname"><a href="pico_8h.html">pico.h</a></div></div>
<div class="ttc" id="arp2__common_2hardware__divider_2include_2hardware_2divider_8h_html"><div class="ttname"><a href="rp2__common_2hardware__divider_2include_2hardware_2divider_8h.html">divider.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->

	<script src="main.js"></script>
</body>
</html>